#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = 'tian'
__data__ = '2022/4/29 14:28'
# software: PyCharm

from rest_framework.routers import DefaultRouter

from . import views

router = DefaultRouter()

# 验证码
router.register("code", views.SmsCodeViewSet, basename="code")
# 注册
router.register("register",views.UserViewSet,basename="register")

urlpatterns = [] + router.urls
